﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework.Content;

using VTESCore;

namespace VTESCustomContentReaders
{
	public class VTESDeckContentReader : ContentTypeReader<VTESDeck>
	{
		protected override VTESDeck Read( ContentReader input, VTESDeck existingInstance )
		{
			VTESDeck deck = new VTESDeck();

			deck.CryptCards		= input.ReadObject<List<CryptCard>>();
			deck.LibraryCards	= input.ReadObject<List<LibraryCard>>();

			return deck;
		}
	}
}
